home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CUCD / Programming / AMOSList / AMOSLIST / text0318.txt < prev    next >
Encoding:
Text File  |  1998-04-01  |  1.7 KB  |  46 lines

  1. > Isent there a command in Amos that sets up a zone around a txt String??
  2. > How does it works??
  3.  
  4. I've not used the text zone command but if you're using standard Print
  5. command with standard font then you can create a zone easily. As each
  6. letter is the same size (I'm pretty sure it's 8x8) then you could do
  7. something like this:
  8.  
  9. Reserve Zone 1
  10.  
  11. A$="Whatever"
  12. Locate 10,5 : Print A$
  13. Set Zone 1,10*8,5*8 To (10+Len(A$))*8,6*8
  14.  
  15. Then Mouse Zone will tell you if the pointer is over the text.
  16. There are more effiecient ways but I find that usually does the trick
  17. quickly and with minimum fuss.
  18.  
  19. > And when will Gui Extension v 1.7 be released.
  20. > I've herared several times now that it will be released any day now, but 
  21. > it's still isent out :((
  22. > It's not fair to keep us waiting like this!
  23.  
  24. Yeah!
  25. Come on. Delay the AMOS coding for a day or two and get GUI out!  :)
  26.  
  27. -Murray
  28.  
  29. --
  30.  
  31.  Alastair  \\|//   malcolm.murray@virgin.net
  32.   Murray   (o o)      http://freespace.virgin.net/malcolm.murray
  33. |~~~~~~oOOo~(_)~oOOo~~~~|~~~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~~~~~~~~~|
  34. | ---===ON AMINET===--- |dev/misc/Backbone | --==IN PRODUCTION==--  |
  35. |  game/shoot/Hanger18  |game/shoot/Traitor|    The Turtleminator   |
  36. |game/jump/BananaIslands|  game/role/CHAOS |       Hangar 18 II     |
  37. |  game/shoot/Extinct   | game/jump/Blobby | Backbone - Game Creator|
  38. |   dev/amos/KeyState   | dev/amos/PicPack |Star Trek - BORG Assault|
  39. |  pix/nicon/TrekNIcons | game/shoot/XII   |                        |
  40. | game/shoot/KillEmAll  |                  |                        |
  41. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  42. Man shall never reach the moon, for such a quantity of gunpowder would
  43. be needed as to gravely injure the crew - Children's Encyclopedia 1926
  44.  
  45.  
  46.